package cn.tedu.course.role.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.Date;

@Data
public class RoleSaveParam {
    private Long id;
    @Schema(name = "角色名称")
    @NotBlank(message = "角色名称不能为空!")
    private String name;
    @Schema(name = "功能权限")
    @NotBlank(message = "功能权限不能为空")
    private String description;
    @Schema(name = "状态")
    @NotNull(message = "状态不能为空!")
    private Integer status;

}
